import request from '@/utils/request';

//获取页面配置
export async function fetchPageConfig(params) {
    return request('/common/pageConfig/listPageConfig', {
        params,
    });
}

//获取页面配置详情
export async function fetchPageConfigDetail(params) {
    return request('/common/pageConfig/getPageConfigDetail', {
        params,
    });
}
//查询机构列表
export async function fetchList(params) {
    return request('/user/list', {
        params,
    });
}



//保存页面配置
export async function fakeSavePageConfig(data) {
    return request('/common/pageConfig/savePageConfig', {
        method: 'post',
        data,
    });
}


